﻿using Admin.NET.Core;
namespace Admin.NET.Application.Entity;

/// <summary>
/// 校本选课
/// </summary>
[SugarTable("XuanKe","校本选课")]
[SugarIndex("unique_xuanke_xuankeTaskId_studentId", nameof(XuanKe.XuankeTaskId), OrderByType.Desc, nameof(XuanKe.StudentId), OrderByType.Desc, true)]
public class XuanKe  : EntityBase
{
    /// <summary>
    /// 选课任务
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "XuankeTaskId", ColumnDescription = "选课任务")]
    public long XuankeTaskId { get; set; }
    
    /// <summary>
    /// 班级
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "BanjiId", ColumnDescription = "班级")]
    public long BanjiId { get; set; }
    
    /// <summary>
    /// 教学班
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "JiaoxueBanId", ColumnDescription = "教学班")]
    public long JiaoxueBanId { get; set; }
    
    /// <summary>
    /// 学生
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "StudentId", ColumnDescription = "学生")]
    public long StudentId { get; set; }
    
    /// <summary>
    /// 课程
    /// </summary>
    [SugarColumn(ColumnName = "KechengId", ColumnDescription = "课程")]
    public long? KechengId { get; set; }
    
    /// <summary>
    /// 是否预选
    /// </summary>
    [Required]
    [SugarColumn(ColumnName = "IsYuxuan", ColumnDescription = "是否预选")]
    public bool IsYuxuan { get; set; }
    
    /// <summary>
    /// 成绩
    /// </summary>
    [SugarColumn(ColumnName = "Chengji", ColumnDescription = "成绩", Length = 32)]
    public string? Chengji { get; set; }
    
    /// <summary>
    /// 备注
    /// </summary>
    [SugarColumn(ColumnName = "Remark", ColumnDescription = "备注", Length = 200)]
    public string? Remark { get; set; }

    /// <summary>
    /// 第1周考勤
    /// </summary>
    [SugarColumn(ColumnName = "Chuqin1", ColumnDescription = "第1周考勤", Length = 20)]
    public string? Chuqin1 { get; set; }

    /// <summary>
    /// 第2周考勤
    /// </summary>
    [SugarColumn(ColumnName = "Chuqin2", ColumnDescription = "第2周考勤", Length = 20)]
    public string? Chuqin2 { get; set; }

    /// <summary>
    /// 第3周考勤
    /// </summary>
    [SugarColumn(ColumnName = "Chuqin3", ColumnDescription = "第3周考勤", Length = 20)]
    public string? Chuqin3 { get; set; }

    /// <summary>
    /// 第4周考勤
    /// </summary>
    [SugarColumn(ColumnName = "Chuqin4", ColumnDescription = "第4周考勤", Length = 20)]
    public string? Chuqin4 { get; set; }

    /// <summary>
    /// 第5周考勤
    /// </summary>
    [SugarColumn(ColumnName = "Chuqin5", ColumnDescription = "第5周考勤", Length = 20)]
    public string? Chuqin5 { get; set; }

    /// <summary>
    /// 第6周考勤
    /// </summary>
    [SugarColumn(ColumnName = "Chuqin6", ColumnDescription = "第6周考勤", Length = 20)]
    public string? Chuqin6 { get; set; }

    /// <summary>
    /// 第7周考勤
    /// </summary>
    [SugarColumn(ColumnName = "Chuqin7", ColumnDescription = "第7周考勤", Length = 20)]
    public string? Chuqin7 { get; set; }

    /// <summary>
    /// 第8周考勤
    /// </summary>
    [SugarColumn(ColumnName = "Chuqin8", ColumnDescription = "第8周考勤", Length = 20)]
    public string? Chuqin8 { get; set; }

    /// <summary>
    /// 第9周考勤
    /// </summary>
    [SugarColumn(ColumnName = "Chuqin9", ColumnDescription = "第9周考勤", Length = 20)]
    public string? Chuqin9 { get; set; }

    /// <summary>
    /// 第10周考勤
    /// </summary>
    [SugarColumn(ColumnName = "Chuqin10", ColumnDescription = "第10周考勤", Length = 20)]
    public string? Chuqin10 { get; set; }

    /// <summary>
    /// 第11周考勤
    /// </summary>
    [SugarColumn(ColumnName = "Chuqin11", ColumnDescription = "第11周考勤", Length = 20)]
    public string? Chuqin11 { get; set; }

    /// <summary>
    /// 第12周考勤
    /// </summary>
    [SugarColumn(ColumnName = "Chuqin12", ColumnDescription = "第12周考勤", Length = 20)]
    public string? Chuqin12 { get; set; }

    /// <summary>
    /// 第13周考勤
    /// </summary>
    [SugarColumn(ColumnName = "Chuqin13", ColumnDescription = "第13周考勤", Length = 20)]
    public string? Chuqin13 { get; set; }

    /// <summary>
    /// 第14周考勤
    /// </summary>
    [SugarColumn(ColumnName = "Chuqin14", ColumnDescription = "第14周考勤", Length = 20)]
    public string? Chuqin14 { get; set; }

    /// <summary>
    /// 第15周考勤
    /// </summary>
    [SugarColumn(ColumnName = "Chuqin15", ColumnDescription = "第15周考勤", Length = 20)]
    public string? Chuqin15 { get; set; }

    /// <summary>
    /// 第16周考勤
    /// </summary>
    [SugarColumn(ColumnName = "Chuqin16", ColumnDescription = "第16周考勤", Length = 20)]
    public string? Chuqin16 { get; set; }

    /// <summary>
    /// 第17周考勤
    /// </summary>
    [SugarColumn(ColumnName = "Chuqin17", ColumnDescription = "第17周考勤", Length = 20)]
    public string? Chuqin17 { get; set; }

    /// <summary>
    /// 第18周考勤
    /// </summary>
    [SugarColumn(ColumnName = "Chuqin18", ColumnDescription = "第18周考勤", Length = 20)]
    public string? Chuqin18 { get; set; }

    /// <summary>
    /// 第19周考勤
    /// </summary>
    [SugarColumn(ColumnName = "Chuqin19", ColumnDescription = "第19周考勤", Length = 20)]
    public string? Chuqin19 { get; set; }

    /// <summary>
    /// 第20周考勤
    /// </summary>
    [SugarColumn(ColumnName = "Chuqin20", ColumnDescription = "第20周考勤", Length = 20)]
    public string? Chuqin20 { get; set; }

    /// <summary>
    /// 创建者姓名
    /// </summary>
    [SugarColumn(ColumnName = "CreateUserName", ColumnDescription = "创建者姓名", Length = 64)]
    public string? CreateUserName { get; set; }
    
    /// <summary>
    /// 修改者姓名
    /// </summary>
    [SugarColumn(ColumnName = "UpdateUserName", ColumnDescription = "修改者姓名", Length = 64)]
    public string? UpdateUserName { get; set; }
    
}
